-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed input file paths in template for rms script to be generated #747
Fixed input file paths in template for rms script to be generated #747
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #747 +/- ##
==========================================
+ Coverage 85.03% 85.87% +0.84%
==========================================
Files 52 52
Lines 7229 7229
==========================================
+ Hits 6147 6208 +61
+ Misses 1082 1021 -61 ☔ View full report in Codecov by Sentry. |
Also fixed test_field_statistics.py by fixing input to a subprocess running field_statistics.py |
tests/test_field_statistics.py
Outdated
|
||
# Run the main script as a subprocess,but first clean up | ||
# result directory to be sure this test does not re-use | ||
# previous results from previous tests | ||
remove_file_path = result_path / Path("ertbox--*.roff") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is needed. tmp_path
will always be a new path every time the test is initiated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I can remove the subprocess to clean up then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. 👍
Still some field paths in the rms script generated by field_statistics.py that need to be fixed.